<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: abcc
  Date: 2019/10/3
  Time: 14:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>Title</title>
</head>
<body>




<!-- 新闻 -->
<%--<div id="col2" style="display:none;">--%>


<%--</div>--%>


<!-- 商品 -->
<%--<div id="col3" style="display:none;">--%>
    <ul class="flow-default" id="LAY_demo1">
    <c:forEach items="${requestScope.goodsList}" var="good">
        <div id="${good.id}">
            <div style="float: left;">
                <img src="${good.goodsPicture}" class="gimg" style="width: 100px;height: 100px;border-radius: 0%;">
            </div>

            <div style="margin-left: 72px;margin-top: 12px;">
                <a href="" class="gimga">&nbsp;&nbsp;名称:${good.goodsName}</a>
                <!-- 按钮 -->
                <p style="float: right;margin-top: 5px;margin-right: 5px;">
                    <button type="button" class="btn btn-default btn-sm" onclick="delGoods(${sessionScope.user.id},${good.id})">取消收藏</button>
                </p>
            </div>
            <div style="margin-left: 72px">
                <p class="wt">&nbsp;&nbsp;发货地:${good.place}</p>
                <p class="wt">&nbsp;&nbsp;价格:${good.price}</p>
                <span style="color: #666666;margin-top: -2px">&nbsp;&nbsp;简介:</span>
                <p class="wt">&nbsp;&nbsp;${good.goodsDetails}</p>
            </div>

            <hr class="hrLine" style="width:100%;" />
        </div>
    </c:forEach>
    </ul>
    <%@include file="../sharedper/goodPage.jsp"%>

<%--</div>--%>



</body>
</html>
